
<?php Yii::app()->clientScript->registerScript('list', <<<DOCHERE

   var dispatch= '$dispatch->dispatch';
DOCHERE
        , CClientScript::POS_HEAD); ?>
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/app/dispatchpart.js',CClientScript::POS_BEGIN);?>
<div id="left-col">
    <?php
    $this->renderPartial('_side', array(
        'dispatch'=>$dispatch,
        'location'=>$location
    ));
    ?>



</div>

<div id="right-col">

    <div class="wrap">
        <div class="container">


            <div id="breadcrumb" style="display:none;"><span style="padding-left:10px;font-size:10px;color:#777777;" id="alsoviewing"></span></div>
            <div class="inside">
                <?php
                $this->renderPartial('/dispatchdetails/_view',array(
                    'dispatch'=>$dispatch,
                    'location'=>$location
                ));
                ?>
                <br/>
          
                <?php
                $this->renderPartial('/dispatchdetails/_tab', array(
                    'model' => $dispatch,
                ));
                ?>
                <br/>




                <div id="part-list">

                </div>

            </div><!-- inside -->
        </div><!-- container -->
    </div><!-- wrap -->
<?php $this->renderPartial('/copyright'); ?>
</div> <!-- left-col -->